Meeting Rooms - Leetcode 252 - Javascript